/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: syyyy
 * Date: 2025-08-18
 * Time: 11:19
 */
public class Test {
    public static void main(String[] args) {
//        MyBinaryTree tree1=new MyBinaryTree();
//        tree1.createBinaryTree();
//        MyBinaryTree tree2=new MyBinaryTree();
//        tree2.createBinaryTree();
//        boolean ret=tree1.isSameTree(tree1.root,tree2.root);
//        System.out.println(ret);
        MyBinaryTree tree=new MyBinaryTree();
        tree.createBinaryTree();
//        tree.preOrder(tree.root);
        System.out.println(tree.root.val);

    }
}
